/*
 * PKL 51 GUNUNG KIDUL
 * Subseksie DATA ENTRY + CAPI
 */
package pkl51.controller;

import pkl51.model.*;

/**
 *
 * @author Hindarwan
 */
public class NewController {
    private Blok123Model blok123Model;
    private ListBlok4Model listBlok4Model;
    private Blok5Model blok5Model;
    private Blok6AModel blok6AModel;
    private ListBlok6BModel listBlok6BModel;
    private Blok6CModel blok6CModel;
            
    public void resetAllModel(){
        getAllModel();
        blok123Model.resetModel();
        listBlok4Model.resetModel();
        blok5Model.resetModel();
        blok6AModel.resetModel();
        listBlok6BModel.resetModel();
        blok6CModel.resetModel();
    }
    
    private void getAllModel(){
        blok123Model = Blok123Model.getInstance();
        listBlok4Model = ListBlok4Model.getInstance();
        blok5Model = Blok5Model.getInstance();
        blok6AModel = Blok6AModel.getInstance();
        listBlok6BModel = ListBlok6BModel.getInstance();
        blok6CModel = Blok6CModel.getInstance();
    }
}
